import os
import pytest



if __name__ == "__main__":
    pytest.main(["-m","process","-s","--alluredir","report/tmp"]) # -m运行mark标记文件
    os.system('allure generate report/tmp -o report/html --clean')#report/tmp为报告源文件目录